<div class="row-fluid">
    <div class="navbar no-margin">
        <div class="navbar-inner">
            <ul class="breadcrumb">
                <i class="icon-chevron-left hide-sidebar"><a href='#' title="Hide Sidebar" rel='tooltip'>&nbsp;</a></i>
                <i class="icon-chevron-right show-sidebar" style="display:none;"><a href='#' title="Show Sidebar"
                        rel='tooltip'>&nbsp;</a></i>
                <li>
                    <a href="#/onduty">首页</a>
                </li>
                <li>
                    <a href="#/sre/dqc/dqc_config">DQC配置列表</a>
                </li>
                <li class="active">DQC配置</li>
            </ul>
        </div>
    </div>
</div>

<div class="container-fluid">

    <div class="row">
        <div class="col-sm-12 col-md-12 main">
            <div class="col-md-6 col-md-offset-3">
                <!--                <form name="form" ng-keydown="if(event.keyCode==13) return false;" ng-submit="form.$valid&&olapConfigAdd()" novalidate>-->
                <form name="form" novalidate>
                    <div class="form-group"
                        ng-class="{'has-error':form.tableLevel.$error.required,'has-success':!form.tableLevel.$error.required}">
                        <label style="padding: 0 0 5px">数据分层</label>
                        <!--                        <input type="text" class="form-control" name="resolvegroupId" ng-model="vm.p.resolvegroupId"/>-->
                        <input type="text" class="form-control" name="tableLevel" ng-model="vm.p.tableLevel" required />
                        <!-- <span ng-show="form.groupName.$error.required" class="help-block">请填写执行器分组</span> -->
                        <span ng-show="form.tableLevel.$error.required" class="help-block">请填写数据分层</span>
                    </div>
                    <div class="form-group">
                        <label style="padding: 0 0 5px">标签</label>
                        <!--                        <input type="text" class="form-control" name="resolvegroupId" ng-model="vm.p.resolvegroupId"/>-->
                        <input type="text" class="form-control" name="tag" ng-model="vm.p.tag" />
                        <!-- <span ng-show="form.groupName.$error.required" class="help-block">请填写执行器分组</span> -->
                    </div>
                    <div class="form-group"
                        ng-class="{'has-error':form.taskId.$error.required,'has-success':!form.taskId.$error.required}">
                        <label style="padding: 0 0 5px">DP任务ID</label>
                        <!--                        <input type="text" class="form-control" name="resolvegroupId" ng-model="vm.p.resolvegroupId"/>-->
                        <input type="text" class="form-control" name="taskId" ng-model="vm.p.taskId" required />
                        <span ng-show="form.tableLevel.$error.required" class="help-block">请填写DP任务ID</span>
                        <!-- <span ng-show="form.groupName.$error.required" class="help-block">请填写执行器分组</span> -->
                    </div>
                    <div class="form-group">
                        <label style="padding: 0 0 5px">任务描述</label>
                        <!--                        <input type="text" class="form-control" name="resolvegroupId" ng-model="vm.p.resolvegroupId"/>-->
                        <input type="text" class="form-control" name="taskDesc" ng-model="vm.p.taskDesc" />
                        <!-- <span ng-show="form.groupName.$error.required" class="help-block">请填写执行器分组</span> -->
                    </div>
                    <div class="form-group"
                        ng-class="{'has-error':form.userName.$error.required,'has-success':!form.userName.$error.required}">
                        <label style="padding: 0 0 5px">负责人OA</label>
                        <!--                        <input type="text" class="form-control" name="resolvegroupId" ng-model="vm.p.resolvegroupId"/>-->
                        <input type="text" class="form-control" name="userName" ng-model="vm.p.userName" required />
                        <span ng-show="form.userName.$error.required" class="help-block">请填写负责人OA</span>
                        <!-- <span ng-show="form.groupName.$error.required" class="help-block">请填写执行器分组</span> -->
                    </div>
                    <div class="form-group"
                        ng-class="{'has-error':form.tableName.$error.required,'has-success':!form.tableName.$error.required}">
                        <label style="padding: 0 0 5px">表名称</label>
                        <!--                        <input type="text" class="form-control" name="resolvegroupId" ng-model="vm.p.resolvegroupId"/>-->
                        <input type="text" class="form-control" name="tableName" ng-model="vm.p.tableName" required />
                        <span ng-show="form.tableName.$error.required" class="help-block">请填写表名称</span>
                        <!-- <span ng-show="form.groupName.$error.required" class="help-block">请填写执行器分组</span> -->
                    </div>
                    <div class="form-group"
                        ng-class="{'has-error':form.path.$error.required,'has-success':!form.path.$error.required}">
                        <label style="padding: 0 0 5px">存储路径</label>
                        <!--                        <input type="text" class="form-control" name="resolvegroupId" ng-model="vm.p.resolvegroupId"/>-->
                        <input type="text" class="form-control" name="path" ng-model="vm.p.path" required />
                        <span ng-show="form.path.$error.required" class="help-block">请填写存储路径</span>
                        <!-- <span ng-show="form.groupName.$error.required" class="help-block">请填写执行器分组</span> -->
                    </div>
                    <div class="form-group">
                        <label style="padding: 0 0 5px">分区</label>
                        <!--                        <input type="text" class="form-control" name="resolvegroupId" ng-model="vm.p.resolvegroupId"/>-->
                        <input type="text" class="form-control" name="partition" ng-model="vm.p.partition" />
                        <!-- <span ng-show="form.groupName.$error.required" class="help-block">请填写执行器分组</span> -->
                    </div>
                    <div class="form-group">
                        <!--                        <input type="text" class="form-control" name="resolvegroupId" ng-model="vm.p.resolvegroupId"/>-->
                        <!-- <span ng-show="form.groupName.$error.required" class="help-block">请填写执行器分组</span> -->
                        <label for="isTest">是否测试</label>
                        <select class="form-control" ng-model="vm.p.isTest" id="isTest">
                            <option value="0">是</option>
                            <option value='1'>否</option>
                        </select>
                    </div>

                    <div class="form-group">
                        <input class="btn btn-primary" ng-class="{'disabled':!form.$valid}" type="button" value="确定"
                            ng-click="form.$valid&&dqcConfigAdd()" />
                        <a href="#/sre/dqc/dqc_config" class="btn btn-default">返回</a>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<!--/.container-->
<!-- <script type="text/javascript" charset="UTF-8" src="../lib/bootstrap/js/bootstrap-tagsinput.js"></script> -->
<!-- <script type="text/javascript" charset="UTF-8" src="../lib/bootstrap/js/bootstrap-tagsinput-angular.js"></script> -->